###
# Resistor::Liquid
# resistor extensions to Liquid
# @author Chris Scott
#
module Resistor::Liquid
    require 'ui'

    require 'filters'

    # register filters with liquid
    ::Liquid::Template.register_filter(Resistor::Liquid::Filters)

    require 'paperclip'  # <-- for Paperclip::Attachment.to_liquid


end


###
# Money
# define a to_liquid method for Money class, included in environment.rb
#
class Money
    def to_liquid
        self.to_s
    end
end
